#include <TimelineEventHandler.h>
Public Member Functions | |
| TimelineEventHandler (osg::ref_ptr< osgProducer::Viewer > viewer, osg::ref_ptr< osg::Group > quadGroup) | |
| ~TimelineEventHandler () | |
| bool | handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
| void | select (const osgGA::GUIEventAdapter &ea) |
| void | changeStateRed () |
| void | changeStateWhite () |
| void | changeStateGrey () |
| void | paintWhiteAll () |
| void | paintGrey () |
Private Attributes | |
| osg::ref_ptr< osgProducer::Viewer > | _viewer |
| osg::ref_ptr< osg::Group > | _quadGroup |
| osg::StateSet * | stateset |
| osg::StateSet * | statesetG |
| osg::StateSet * | statesetOld |
| int | isBeforeHit |
Definition at line 7 of file TimelineEventHandler.h.
|
||||||||||||
|
A constructor. initializes private members Definition at line 23 of file TimelineEventHandler.h. References isBeforeHit. |
|
|
A destructor. Definition at line 28 of file TimelineEventHandler.h. |
|
|
a normal member. this function identifies the non-selected frames, change color states of the frames as grey Definition at line 116 of file TimelineEventHandler.cpp. References statesetG. Referenced by paintGrey(). |
|
|
a normal member. this function identifies the selected frame, change color state of the frame that is clicked as red Definition at line 96 of file TimelineEventHandler.cpp. References stateset. Referenced by select(). |
|
|
a normal member. this function identifies the non-selected frames, change color states of the frames as white Definition at line 134 of file TimelineEventHandler.cpp. References statesetOld. Referenced by select(). |
|
||||||||||||
|
a normal member taking two arguments and returning bool.
Definition at line 1 of file TimelineEventHandler.cpp. References select(). |
|
|
a normal member. this function set material properties of osg::Groups Definition at line 75 of file TimelineEventHandler.cpp. References _quadGroup, changeStateGrey(), OSGWindows::getFrames(), osgwind, and statesetG. Referenced by select(). |
|
|
a normal member. this function set material properties of osg::Groups Definition at line 152 of file TimelineEventHandler.cpp. References _quadGroup, OSGWindows::getFrames(), and osgwind. |
|
|
a normal member taking one argument and returning none.
Definition at line 27 of file TimelineEventHandler.cpp. References _viewer, changeStateRed(), changeStateWhite(), OSGWindows::clickedOnAFrame(), isBeforeHit, osgwind, paintGrey(), stateset, and statesetOld. Referenced by handle(). |
|
|
Definition at line 10 of file TimelineEventHandler.h. Referenced by paintGrey(), and paintWhiteAll(). |
|
|
Definition at line 9 of file TimelineEventHandler.h. Referenced by select(). |
|
|
Definition at line 15 of file TimelineEventHandler.h. Referenced by select(), and TimelineEventHandler(). |
|
|
Definition at line 11 of file TimelineEventHandler.h. Referenced by changeStateRed(), and select(). |
|
|
Definition at line 12 of file TimelineEventHandler.h. Referenced by changeStateGrey(), and paintGrey(). |
|
|
Definition at line 13 of file TimelineEventHandler.h. Referenced by changeStateWhite(), and select(). |
1.4.6-NO